﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace ThreeDI.UI.Abstraction
{
  public  class SkyBox:Mesh
    {
        #region variables
        public string path = @"C:\Users\Mina\Desktop\sherry\GP\Lobby\Lobby\lobby_skyboxInv.x";
        private Mesh mesh;
        private Application _application;
        #endregion
        public SkyBox(Application application)
            : base(@"C:\Users\Mina\Desktop\sherry\GP\Lobby\Lobby\lobby_skyboxInv.x", application)
        {
            _application = application;
        }
        public  void LoadSkyBox()
        {
            mesh = new Mesh(path, _application);
            Load();
        }
        public void RenderSkyBox()
        {
            Rotation(0, 0, 50);
            Scaling(3f, 3f, 20f);
            Render();   
        }
    }
}
